package com.hue.springcloud.service.impl;

import com.hue.springcloud.mapper.StorageMapper;
import com.hue.springcloud.service.StorageService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.math.BigDecimal;

@Service
public class StorageServiceImpl implements StorageService {
    @Autowired
    private StorageMapper storageMapper;

    @Override
    public void updateStorage(int count, long productId) {
        storageMapper.updateStorage(count,productId);
    }
}
